/**
 * 
 */
package dao.product.impl;

import java.util.List;

import org.springframework.transaction.annotation.Transactional;

import dao.product.ProductDao;

import util.GeneralDaoImpl;
import vo.PageData;
import vo.UserVo;
import entity.Product;
import entity.ProductCate;


/**
 * @author Chigco.Orc
 *	商品类别
 */
@Transactional
public class ProductDaoImpl extends GeneralDaoImpl<java.lang.Long,Product> implements ProductDao{
		public ProductDaoImpl(){
			super(entity.Product.class);
		}
		
		/*
		 * 添加分页方法
		 */
//		@Transactional
//		public PageData pageFind(int curPageFirst,int pageSize) {
//			return this.getHibernateTemplate().find("select * from Product limit ?,?",new Object[]{curPageFirst,pageSize});
//		}

		
		
			
}
